package com.jia.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName t_address
 */
@TableName(value ="t_address")
@Data
public class Address implements Serializable {
    /**
     * 地址表（存的是所有换电柜的地址）
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 省
     */
    @TableField(value = "province")
    private String province;

    /**
     * 市
     */
    @TableField(value = "city")
    private String city;

    /**
     * 区
     */
    @TableField(value = "district")
    private String district;

    /**
     * 详细地址
     */
    @TableField(value = "description")
    private String description;

    /**
     * 站点状态
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 创建时间
     */
    @TableField(value = "createtime")
    private Date createtime;

    /**
     * 修改时间
     */
    @TableField(value = "updatetime")
    private Date updatetime;

    /**
     * 冗余
     */
    @TableField(value = "r")
    private String r;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
